<?php
echo "\n------echo-----------\n";
echo "Hello";
echo "\n------print-----------\n";
print "World";
echo "\n------print_r-----------\n";
print_r(array
        (1=>'One',
        2=>'Two',
        3=>'Three',
        4=>'Four'));
        echo "\n------var_export-----------\n";
var_export(array(
          '5'=>'five',
          '6'=>'six',
          '7'=>'seven',
          '8'=>'eight',
          ));
echo "\n------var_dump-----------\n";
var_dump("Hello world 123");
echo "\n------printf-----------\n";
printf("This is CAP %c and SMALL %c",65,97);
echo "\n------printf-----------\n";
printf("%f %.1f",56,56);
echo "\n------sprintf-----------\n";
$a = sprintf("%f %.1f",56,56);//didn't print
echo $a;
echo "\n-----------------\n";
